﻿Namespace bitly
    Public Class bly_validate_parameters
        Private _x_login As String = String.Empty
        Private _x_apiKey As String = String.Empty

        ''' <summary>
        ''' The pass along end-user login
        ''' </summary>
        ''' <value></value>
        ''' <returns>An <c>String</c> representing the pass along end-user login.</returns>
        ''' <remarks></remarks>
        Public Property x_login() As String
            Get
                Return _x_login
            End Get
            Set(ByVal value As String)
                _x_login = value
            End Set
        End Property

        ''' <summary>
        ''' The pass along end-user API key
        ''' </summary>
        ''' <value></value>
        ''' <returns>An <c>String</c> representing the pass along end-user API key.</returns>
        ''' <remarks></remarks>
        Public Property x_apiKey() As String
            Get
                Return _x_apiKey
            End Get
            Set(ByVal value As String)
                _x_apiKey = value
            End Set
        End Property
    End Class

    Public Class bly_validate_results

        Private _Valid As String = String.Empty
        Public Status As New bly_error_status


        ''' <summary>
        ''' The URL-Encoded URL to be shortened
        ''' </summary>
        ''' <value></value>
        ''' <returns>An <c>String</c> representing the URL to be shortened.</returns>
        ''' <remarks></remarks>
        Public Property Valid() As String
            Get
                Return _Valid
            End Get
            Set(ByVal value As String)
                _Valid = value
            End Set
        End Property

    End Class
End Namespace

